package com.hl.card.credit.utill;

/**
 * @author Paul.Huang
 * @data 2017/12/12 15:30
 * @Description
 */
public  enum ResultStatusUtil {
    //注意: **************状态不要乱加
    NoLogin(100,"未登录"),
    /*
     * 成功
     */
    Success(200, "成功"),
    /*
     * 失败
     */
    Fail(400, "请求错误"),
    /*
     * 错误
     */
    Error(500, "服务器错误");

    private int status;
    private String name;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private ResultStatusUtil(int status, String name) {
        this.status = status;
        this.name = name;
    }
}
